﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>首页</title>
<link type="text/css" rel="stylesheet" href="../css/style.css" />
<script type="text/javascript" src="js/jquery-1.12.4.min.js"></script>
   <script type="text/javascript">
      $(document).ready(function () {
         var params = new URLSearchParams(window.location.search);
         var username = params.get("username");
         var password = params.get("amp;password");
         $("#search_btn").on("click", function () {
            var web = "searchJob.html";
            var option = "?option=" + $("#selectlist").val();
            var value = "&value=" + $("#teset").val();
            window.location = web + option + value;
         });
         $("#person").attr('href', "personal_resume.html?username=" + username + "&amp;password=" + password);
         $("[name='login666']").click(function () {
            username = $("[name='username']").val();
            password = $("[name='password']").val();
            $.get("user/login",
                 {
                    "username": username,
                    "password": password
                 },
                 function (rs) {
                    var mess = rs.result;
                    alert(mess);
                    location.href = "index.html?username=" + username + "&amp;password=" + password;
                 });
         });
         $.get("post/findBySalary",function (rs) {
            $("#show").empty();
            var postEnterprise = rs.result;
            for (var i = 0; i < 10; i++) {
               $("<div class='divBox'>" +
                       "            <a href='job_info.html'><img src='images/18.gif' width='84'/></a>" +
                       "            <p class='tit'><a href='job_info.html?id=" + postEnterprise[i].id + "'>" + postEnterprise[i].pname+"</a></p>" +
                       "            <p class='sub'><a href='company.html?id=" + postEnterprise[i].eid + "'>" + postEnterprise[i].name + "</a></p>" +
                       "            <p class='num'><span>" + (postEnterprise[i].minsalary/1000) + "K - " + (postEnterprise[i].maxsalary/1000) + "K</span></p>" +
                       "         </div>").appendTo("#show");
            }
            });
      });
      
      </script>
   <script>
      $(function () {

      });
   </script>
</head>

<body>
<div class="topDiv">
</div>
<div class="loginDiv">
   <div class="loginL">
      <img src="images/LOGO.png" />
      <img src="images/view_logo40.png" />
   </div>
   <div class="loginAddress">
      <div class="add1">
      </div>
   </div>
   <div class="loginC">
      <input id="teset" name="" type="text" placeholder="请填写关键词(模糊查询)或选择职位..." />
      <button id="search_btn"></button>
      <select id="selectlist" >
         <option disabled value="-1">请选择</option>
         <option value="1">工作地点</option>
         <option value="2">职位名称</option>
         <option value="3">企业名称</option>
      </select>
   </div>
   <div class="loginR">
      <img src="images/spirit_40.png" />
   </div>
</div>
<div class="menuDiv">
   <a href="index.html" class="onnav">首页</a>
   <a href="personal_resume.html" id="person">个人中心</a>
   <a href="personal_selected.html">我的职位</a>
</div>
<div class="BodyMain">
   <div class="mainTop">
      <div class="mainTopL">
         <ul>
         <div class="items">
           <div class="itemOne">
              <span class="itme1">
                 <b></b>
                 <a href="searchJob.html?type=艺术">艺术</a>
                 |<a href="searchJob.html?type=市场">市场</a>
                 |<a href="searchJob.html?type=客服">客服</a>
                 |<a href="searchJob.html?type=贸易">贸易</a>
              </span>
           </div>
         </div>
         <div class="items">
           <div class="itemOne">
              <span class="itme2"><b></b>
                 <a href="searchJob.html?type=经营管理">经营管理</a>
                 |<a href="searchJob.html?type=人事">人事</a>
                 |<a href="searchJob.html?type=行政">行政</a>
                 |<a href="searchJob.html?type=财务">财务</a></span>
           </div>
         </div>
         <div class="items">
           <div class="itemOne">
              <span class="itme3"><b></b>
                 <a href="searchJob.html?type=生产">生产</a>
                 |<a href="searchJob.html?type=质管">质管</a>
                 |<a href="searchJob.html?type=技工">技工</a>
                 |<a href="searchJob.html?type=物流">物流</a></span>
           </div>
         </div>
         <div class="items">
           <div class="itemOne">
              <span class="itme4"><b></b>
                 <a href="searchJob.html?type=教育">教育</a>
                 |<a href="searchJob.html?type=法律">法律</a>
                 |<a href="searchJob.html?type=咨询">咨询</a>
                 |<a href="searchJob.html?type=翻译">翻译</a></span>
           </div>
         </div>
         </ul>
      </div>
      <div class="mainTopR">
         <div class="ads">
            <div class="floatL" id="left"></div>
            <div class="adBox0">
              <ul style="margin-left: 0px; overflow: hidden">
                <li>
                  <a href="javascript:void(0)"><div style="background:url(images/1.jpg);background-size: cover;background-repeat: no-repeat;background-position: center"></div></a>
                </li>
                <li>
                  <a href="javascript:void(0)"><div style="background:url(images/2.jpg);background-size: cover;background-repeat: no-repeat;background-position: center"></div></a>
                </li>
                <li>
                  <a href="javascript:void(0)"><div style="background:url(images/3.gif);background-size: cover;background-repeat: no-repeat;background-position: center"></div></a>
                </li>
              </ul>
            </div>
            <div class="clear"> </div>
         </div>
         <div class="login">
            <div class="erweima">
               <div class="close"></div>
               <div class="ewmimg"><img src="images/showqrcode.jpg" /></div>
               <div class="ewmtxt">使用微信扫描上方二维码登录</div>
            </div>
            <div class="logintop">
               <div class="loginC loginA select">
                  <span>个人登录</span>
               </div>
               <div class="loginC loginB">
               </div>
            </div>
            <div class="loginmain">
               <div class="ContentA">
                  <div class="txtInput"><input name="username" type="text" placeholder="请输入用户名"/></div>
                  <div class="txtInput"><input name="password" type="text" placeholder="请输入密码"/></div>
                  <div class="txtbtn">
                    <div style="float:left">
                     <br /><div class="clear"></div>
                     <a href="password.html" class="a2">忘记密码</a>
                    </div>
                     <input name="login666" type="button" class="lobtn" value="登  录"/>
                  </div>
                  <div class="zcbox">
                     <div class="zc2">
                        <a href="resume.html" class="a1">一分钟填写简历</a>
                        <a href="register.html" class="a2">注册</a>
                     </div>
                  </div>
               </div>
            </div>
         </div>
         <div class="clear"></div>
      </div>
   </div>
   <div class="clear"></div>
   <div class="mainCon2">
      <div class="commontitdiv">
        <div class="title">高薪职位</div>
        <span>高薪就这么任性！</span>
      </div>
      <div class="clear"></div>
      <div id="show" class="highMoney">
         <div class="divBox">
            <a href="job_info.html"><img src="images/18.gif" width="84"/></a>
            <p class="tit"><a href="job_info.html?id=5">橱柜设计</a></p>
            <p class="sub"><a href="company.html?id=7">深圳维意定制家居用品有限公司</a></p>
            <p class="num"><span>8K-10K</span></p>
         </div>
         <div class="lineBox"></div>
         <div class="divBox">
            <a href="job_info.html"><img src="images/18.gif" width="84"/></a>
            <p class="tit"><a href="job_info.html">橱柜设计</a></p>
            <p class="sub"><a href="company.html">深圳维意定制家居用品有限公司</a></p>
            <p class="num"><span>8K-10K</span></p>
         </div>
         <div class="lineBox"></div>
         <div class="divBox">
            <a href="job_info.html"><img src="images/18.gif" width="84"/></a>
            <p class="tit"><a href="job_info.html">橱柜设计</a></p>
            <p class="sub"><a href="company.html">深圳维意定制家居用品有限公司</a></p>
            <p class="num"><span>8K-10K</span></p>
         </div>
         <div class="lineBox"></div>
         <div class="divBox">
            <a href="job_info.html"><img src="images/18.gif" width="84"/></a>
            <p class="tit"><a href="job_info.html">橱柜设计</a></p>
            <p class="sub"><a href="company.html">深圳维意定制家居用品有限公司</a></p>
            <p class="num"><span>8K-10K</span></p>
         </div>
         <div class="lineBox"></div>
         <div class="divBox">
            <a href="job_info.html"><img src="images/18.gif" width="84"/></a>
            <p class="tit"><a href="job_info.html">橱柜设计</a></p>
            <p class="sub"><a href="company.html">深圳维意定制家居用品有限公司</a></p>
            <p class="num"><span>8K-10K</span></p>
         </div>
         <div class="lineBox"></div>
         <div class="divBox">
            <a href="job_info.html"><img src="images/18.gif" width="84"/></a>
            <p class="tit"><a href="job_info.html">橱柜设计</a></p>
            <p class="sub"><a href="company.html">深圳维意定制家居用品有限公司</a></p>
            <p class="num"><span>8K-10K</span></p>
         </div>
         <div class="lineBox"></div>
         <div class="divBox">
            <a href="job_info.html"><img src="images/18.gif" width="84"/></a>
            <p class="tit"><a href="job_info.html">橱柜设计</a></p>
            <p class="sub"><a href="company.html">深圳维意定制家居用品有限公司</a></p>
            <p class="num"><span>8K-10K</span></p>
         </div>
         <div class="lineBox"></div>
         <div class="divBox">
            <a href="job_info.html"><img src="images/18.gif" width="84"/></a>
            <p class="tit"><a href="job_info.html">橱柜设计</a></p>
            <p class="sub"><a href="company.html">深圳维意定制家居用品有限公司</a></p>
            <p class="num"><span>8K-10K</span></p>
         </div>
         <div class="lineBox"></div>
         <div class="divBox">
            <a href="job_info.html"><img src="images/18.gif" width="84"/></a>
            <p class="tit"><a href="job_info.html">橱柜设计</a></p>
            <p class="sub"><a href="company.html">深圳维意定制家居用品有限公司</a></p>
            <p class="num"><span>8K-10K</span></p>
         </div>
         <div class="lineBox"></div>
         <div class="divBox">
            <a href="job_info.html"><img src="images/18.gif" width="84"/></a>
            <p class="tit"><a href="job_info.html">橱柜设计</a></p>
            <p class="sub"><a href="company.html">深圳维意定制家居用品有限公司</a></p>
            <p class="num"><span>8K-10K</span></p>
         </div>
      </div>
   </div>
   <div class="clear"></div>
</div>
<div class="footerLine"></div>
<div class="footer">
  <div class="footerdown">
  </div>
</div>
</body>

</html>
